﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace CFSystem.JXC.Model
{
    public class VendorInfo
    {
        /// <summary>
        /// 供应商编号
        /// </summary>
        int _vendorID;
        /// <summary>
        /// 
        /// </summary>
        [DisplayName("供应商编号")]
        public int VendorID
        {
            get
            {
                return _vendorID;
            }
            set
            {
                _vendorID = value;
            }
        }
        private string _vendorName;
        /// <summary>
        /// 供应商名称
        /// </summary>
        [DisplayName("供应商名称")]
        public string VendorName
        {
            get
            {
                return _vendorName;
            }
            set
            {
                _vendorName = value;
            }
        }
        private string _Contact;
        /// <summary>
        /// 联系人
        /// </summary>
        [DisplayName("联系人")]
        public string Contact
        {
            get
            {
                return _Contact;
            }
            set
            {
                _Contact = value;
            }
        }
        private string _phoneNo;
        /// <summary>
        /// 联系电话
        /// </summary>
        [DisplayName("联系电话")]
        public string PhoneNo
        {
            get
            {
                return _phoneNo;
            }
            set
            {
                _phoneNo = value;
            }
        }
        private string _email;
        /// <summary>
        /// 电子信箱
        /// </summary>
        [DisplayName("电子邮件")]
        public string Email
        {
            get
            {
                return _email;
            }
            set
            {
                _email = value;
            }
        }
        private string _address;
        /// <summary>
        /// 地址
        /// </summary>
        [DisplayName("供应商地址")]
        public string Address
        {
            get
            {
                return _address;
            }
            set
            {
                _address = value;
            }
        }
        private string _memo;
        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string Memo
        {
            get
            {
                return _memo;
            }
            set
            {
                _memo = value;
            }
        }
        private string _account;
        /// <summary>
        /// 账户
        /// </summary>
        [DisplayName("供应商帐号")]
        public string Account
        {
            get
            {
                return _account;
            }
            set
            {
                _account = value;
            }
        }
        /// <summary>
        /// constructor
        /// </summary>
        public VendorInfo()
        {
            this.VendorID = -1;
            this.VendorName = string.Empty;
            this.Account = string.Empty;
            this.Address = string.Empty;
            this.Contact = string.Empty;
            this.Email = string.Empty;
            this.Memo = string.Empty;
            this.PhoneNo = string.Empty;
        }
    }
}
